(function (angular) {
    angular.module('app').controller('homeController',['$scope','httpGet',function ($scope,httpGet) {
        httpGet.get(function (res) {
            $scope.res = res;
            console.log(res);
        },function (error) {
            console.log(error);
        })
    }])
})(angular);
